Replication and Clustering in IIS

Important   The clustering features described in this section are available only with Windows 2000 Advanced Server.

Windows Clustering provides two clustering technologies that can be used with IIS: Network Load Balancing clusters and Server clusters. Network Load Balancing clusters provide high scalability and availability of up to thirty-two servers. Server clusters provide high availability through fail-over clustering of two connected servers. Depending on your needs and available resources, you can set up IIS in a multiple-node Network Load Balancing cluster (for high availability and scalability) or a two-node Server cluster (for high availability only).

This documentation describes the concepts of both Network Load Balancing clusters and Server clusters, but provides only procedural information on setting up IIS in a two-node Server cluster configuration. For more information on Network Load Balancing, Server clusters, and Windows Clustering in general, see the Windows 2000 Advanced Server documentation.

Internet Information Services (IIS) is designed to integrate with the Cluster service feature of Windows 2000 Advanced Server and the Microsoft Content Replication System (CRS) feature of Microsoft Site Server. IIS also provides a command-line utility (Iissync.exe) for replicating the IIS metabase and other configuration settings (such as applications) from one server node to others. This utility provides a manual method for duplication of these settings.

Clustering Web or FTP Services

The following information describes how you can set up IIS in a Server cluster. For detailed information about Server clusters, including how to use Cluster Administrator, see the Windows 2000 Advanced Server documentation.

Every clustered IIS Web or FTP site consists of:

  1. An IIS cluster resource.
  2. An IP address cluster resource, on which the IIS Web or FTP site resource depends.

 

To set up IIS in a Server cluster
  1. In Cluster Administrator, select the group into which you want to add the new resource. A group is the unit of failover in a clustered environment. For the first IIS resource this is typically the Cluster Group. For any other IIS resources this is typically a new group. Selecting a new group will result in the resources in that new group failing over independently.
  2. On the File menu, point to New and then Resource. In the dialog box, type the name and description for the new resource and select the resource type IIS Server Instance from the drop-down list box. Click Next.
  3. From the selection field, select the nodes in the cluster on which you want the resource to be available. To provide failover, both nodes should be selected; this is the default setting. Click Next.
  4. In the navigation pane, select a dependency for the new resource. IIS cluster resources require at least one cluster IP address dependency, such as the Cluster IP Address. Click Add to select dependencies. Click Next.
  5. Notes

  6. Select either FTP or WWW. Select a server from the drop-down list. Click OK.

If your Web or FTP sites are bound to an IP address, use the Cluster IP Address resource and make your IIS Cluster resource dependent on that Cluster IP Address resource.

Important   You must use the IIS snap-in to set Web or FTP site properties. You can also start and stop Web and FTP sites on a non-clustered computer by using the IIS snap-in, but you must use Cluster Administrator to start and stop Web or FTP sites on a clustered computer.

Replicating Configuration Settings

 

To replicate configuration settings from one Web or FTP server to another

Notes

Uninstalling Cluster service

All IIS resources must be removed from a cluster before Cluster service is uninstalled. If IIS resources are not removed, you will be unable to stop or start the previously clustered IIS sites.

To do this, type the following at the command prompt for all previously clustered IIS resources:

adsutil set <service name>/<instance id>/ClusterEnabled 0


© 1997-1999 Microsoft Corporation. All rights reserved.